//
//  AllData.m
//  22-QQ_MV_HomeWork
//
//  Created by 曹曹 on 16/8/15.
//  Copyright © 2016年 曹曹. All rights reserved.
//

#import "AllData.h"
#import "Data.h"

@implementation AllData
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"data"]) {
        _data = [Data modelWithDictionary:value];
    }
}
@end
